package jnpf.permission.model.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司
 * @date 2021/3/12 15:31
 */
@Data
public class UserCrForm {

    @NotBlank(message = "必填")
    @ApiModelProperty("账户")
    private String account;

    @NotBlank(message = "必填")
    @ApiModelProperty("用户名")
    private String realName;

    @NotNull(message = "性别不能为空")
    @ApiModelProperty("性别")
    private int gender;

    @ApiModelProperty("文化程度")
    private String education;

    @ApiModelProperty("生日")
    private String birthday;

    @ApiModelProperty("电话")
    private String telePhone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("通讯地址")
    private String postalAddress;

    @ApiModelProperty("头像")
    private String headIcon;

    @ApiModelProperty("注册日期")
    private long entryDate;


}
